package com.test.web.dao;
import com.test.web.bean.wz.TypeBean;
import com.test.web.bean.wz.YearMonthBean;
import com.test.web.entity.Wzgoods;
import org.apache.ibatis.annotations.Param;

import java.util.List;
/**
 * @author heyanjing
 * date:2020-09-09 2020/9/9:21:44
 */
public interface WzgoodsDao {
    int deleteByPrimaryKey(String wzGoodsId);
    int insert(Wzgoods record);
    int insertOrUpdate(Wzgoods record);
    int insertOrUpdateSelective(Wzgoods record);
    int insertSelective(Wzgoods record);
    Wzgoods selectByPrimaryKey(String wzGoodsId);
    int updateByPrimaryKeySelective(Wzgoods record);
    int updateByPrimaryKey(Wzgoods record);
    int updateBatch(List<Wzgoods> list);
    int batchInsert(@Param("list") List<Wzgoods> list);
    List<YearMonthBean> findYearMonthByYear(@Param("year") String year);
    List<TypeBean> findTypeByYear(@Param("year") String year);
}